package com.sgxy.wmservice.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Authoer: WGP
 * @CreateDate:2022/5/3
 * @Description:
 */
@Data
public class StoreGoodsVo {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "仓库id")
    private String storeId;

    @ApiModelProperty(value = "商品id")
    private String goodsId;

    @ApiModelProperty(value = "库存数量")
    private Integer stockNum;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "规格/单位")
    private String unit;

    @ApiModelProperty(value = "类别id")
    private String typeId;

    @ApiModelProperty(value = "类别名")
    private String typeName;

    @ApiModelProperty(value = "单价")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "生产日期")
    private Date goodsMakeDate;

    @ApiModelProperty(value = "保质期")
    private Date goodsOverDate;

    @ApiModelProperty(value = "仓库名")
    private String storeName;

    @ApiModelProperty(value = "仓库地址")
    private String storeAddress;

    @ApiModelProperty(value = "仓库状态")
    private Integer storeState;
}
